added the disbale and enable API
package.json