Move delete action under update