consolidated update script