update schedule whenever