data recorder thread safe
update concurrent map thread safe