update/publish/delete a post