add schedule and upgrade