Update switching-mode