Updates to upgrade.php and item_updater.php

item_updater is not working but will fix tomorrow. using while loops to
gather multiple rows from a mysql_fetch_array. Also I must replace all
mysql with mysqli in time becasue thats what the general concensus is.