update dynamic step