updated after a trade