Yeah, there is quite a bit of background infrastructure to allow checking for installed app updates, search, and automatically updating package manifests when a developer releases an update.
I'm an architect, so just keen to understand your architecture on the backend :)
after all this is over, I'll probably do a write up of hall it all worked behind the scene + all the server code.