update timer using trimmer