update vel_center.cpp