Update tree when requested.
Send debug to log too.