modify post model