tweaked update script