added created_at and updated_at fields to models