Adding and editing plan tables