updated potential plot