changed updateMetaData in QueryUtil
added SafeReadWrite and changed MetaInfoMap