updating locations now works