Update library information in a synchronized block and then only dispatch the update on the main thread.