added create and update post capabilities