Any way to know if a canister was updated?

How can we do this off-chain in order build a canister registry as described here?