adding ability to create and update posts