Changed update script