Updating device tree