Update script from iphone part