add route mutex, make update Flush non blocking