added functionality to update the mappings object with event locations