update the runtime to v3 and fix the --config error