[LFTILI-148] correcting device update functionality in the device controller
Merge pull request #56 from loftili/LFTILI-148

[LFTILI-148] correcting device update functionality in the device controller