add posted date field to the post model