add a new post and update one