rebuild device tree