update mock cfg for visualization