Basic function implemented. No error detection function.
IMPORTANT: update_record_value() is in malfunction.