Update for appium 1.0