renamed create_record to crud_record