update element yo-switch