fix assignment table rename in upgrade.php