- adding to map on successful write