Refactored validation and transformation of added records
Minor function name changes
Exposed /update/<collection> API