Fixed the created_at and updated_at problem