updates timeout.