update search to new Map.js structure