handle device status in distributed mode