update disabling and enabling