added custom fields on upgrade.php