upgrade the task management and scheduling