Removed 'update device metadata' functionality and replaced by more
generic 'update device' call.