update and redirect editing