Fix the update node by id method

...now it takes the paginatedChildren collections into account.