updating timeout