[Optimisations] Refactor responsiveness of tree nodes update and refresh