update updates location