updating index, map and detail page