public void updateCurrentQuiz() {
		try {
			String statement = new String("UPDATE " + DBTable + " SET "
					+ "name=?, url=?, description=?, category=?, userid=?, israndom=?, isonepage=?, opfeedback=?, oppractice=?, raternumber=?, rating=?"
					+ " WHERE qid=?");
			PreparedStatement stmt = DBConnection.con.prepareStatement(statement);
			stmt.setString(1, name);
			stmt.setString(2, quizURL);
			stmt.setString(3, description);
			stmt.setString(4, category);
			stmt.setInt(5, creator.userID);
			stmt.setBoolean(6, isRandom);
			stmt.setBoolean(7, isOnepage);
			stmt.setBoolean(8, opFeedback);
			stmt.setBoolean(9, opPractice);
			stmt.setInt(10, raterNumber);
			stmt.setDouble(11, totalRating);	
			stmt.setInt(12, quizID);
			stmt.executeUpdate();
		} catch (SQLException e) {
			e.printStackTrace();
		}	
	}