Update post model