change entity cache to concurrent hash map