update timer7 source code