Updating locations method