Using pubsub for image updates