still not updating locations correctly