update per docs and plotting