Adds updateMarkers function that loops through all barterItems.