Added ability to edit post