updating the locations