updating locations