Update and rename upload.php to template/upload.php