fix updating tree text for hidden values