update speed caculation
update speed caculation