make generic update script