updated map to terrain, upcase for search query