Update accel.cpp