updating device status to Amazon CloudWatch