replace locations