Added ability to update posts