update enable and disable code.