Update number of steps