update to record.php and main.css