Update method run in seperate thread

to support slow update methods.

Thanks to Daniel Heule for the patch