add items_attributes to post model