put the client.update() on a separate thread
added logging info