Stop indexing of get, remove unnecessary variable from a mysql_query
Update upgrade script