update speed_detector

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>