updated velocity