Fixed binding problems with updateRecords + helper functions.