hange the hash map of profile picture to thread safe