Update flywheel.cpp