change appointment fields to start_at and duration