create and update a post done