updated scalebyschedulediagram