updates modes