update the schedule and prune stale folders