update publishConfig