updated api for clients and schedules