changes to add post and modify post