update files.php modification