Update timecontroller.cpp