improve schedule updating