functionality to re-register appium with grid