Update redirects and flash messages in edit()