fix timer update