Add edit and update actions.