update final script