Update record.php