update location box