update a post and some configures