developed schedule update function, update datepicker views