Bug fix: root wasn't being updated correctly.