Fixed update mode detection.