Updated how data from the post model is handled