Handle IP adress changes

Update now checks for changed ip address. if it has been changed, the device is removed and re-added.