changes to post model and form