Updating post model