Update TreeMap