add new post and modify config