improve device lock. change updateDeviceConnection api