udpate with stepnum