adding/removing device dynamically,updating status synchronously