changes to post model and table