udpate of plotting