add element to immutable map