changes to update action on post controller for saving drafts