update schedule table