Check, pull, store

Boilerplate code for a common gesture: reach some resource, check if it has changed, store the updated information.