Numpy Array Update Value In Hashmap Containskey