update generator to latest version