update $timeout