Changes to implement new device update functionality.