update thread-safety section