update for velocity