Update AJAX to add children dynamically with ID schema.