updates to post api
merge conflicts