add schedule_times update ability
write some js
fixing broken tests
add flashes to the layout