Implemented support for updating temperature adaptively only every x iterations