add a post and update some post