updated OrderedPointerMap template