GCP-8588
1. cleaned-up coode to remove unnecessary comments
2. revised methods to check records in the CHANGES table (through stored procedure)