change map to concurrent map