update schedule and resource