Update key when search/back(map)