added index.php, changed update in matchcontroller