Use pointers as map values to allow in-place updates