update form and menu