Simplify repository logic (new_record)