change .switch element