I created a collection, which has After Insert Hooks and update the other collections with few validations. Its working perfectly.
Two ways that I Insert the database.
1. Manual Importing the collections. Its updating in the other collection with all the validations. Perfect with the code
2. Page update through Insert command to database. Its updating and goes to other database and validates the same but its incorrect