update power trees