Added ability to update a post