add a new post and modify configuration