Refactored Insert.php to UPDATE functionality. Remaining problems with Materials, References, Schools