added accessor for created_at and updated_at