simplify logic for datamapper callbacks
allow configuration for callback method
fix bad reference for data_mapper adapter settings