Creating update script