util to enabled/disable node