refactor schedules#edit view
able to update schedules