Updated the post model and flushed the db