corrected the edit page so that it accepts new variables and added the missing ones.