Refresh existing cards if the data base changed.

Take a quick look; it works on my test data.