Update next step caculation