adding status to appointments