Finish edit and update actions