implement load_records update if exists on insert (#290)