modified the menu and added the update template