modify the post model