Update gen-Script