public void runUpdate(String queryIn)
	{
		try{
			if(!con.isValid(1000)){//check if connection is still available
				interrupted = true;
				startConnection();
			}
			//create an SQL statement
			st = con.createStatement();
			//Run the update
			st.executeUpdate(queryIn);
		}
		catch(SQLException e)
		{
			e.printStackTrace();
		}
		finally{//close the statement
			try {
				st.close();
			} catch (SQLException e) {

				e.printStackTrace();
			}
		}
	}