Patched update.php to fix version checking with git submodules and removed custom profiles/ dir.