updated max velocity