updates: add functions to crud_record.py