added record id into the map for future use