public void updateRanks(DB_Timers timer, Boolean all) {
		if (all) {
			List<DB_Timers> timers = this.plugin.database.getDatabase().find(DB_Timers.class).findList();
			if (timers != null && timers.size() > 0) {
				for (DB_Timers timerdata : timers) {
					Integer TimerID = timerdata.getId();
					HashMap<String, String> timerRanks = new LinkedHashMap<String, String>();
					List<DB_Times> times = this.plugin.database.getDatabase().find(DB_Times.class).where().eq("TimerID", TimerID).order().asc("Time").findList();
					
					this.plugin.rankList.put(TimerID, timerRanks);
					
					if (times != null) {
						int i = 1;
						for (DB_Times time : times) {
							String playerName = time.getPlayername();
							Long playerTime = time.getTime();
							timerRanks.put(playerName, i + "," + playerTime);
							i++;
						}
						this.plugin.rankList.put(TimerID, timerRanks);
					}
				}
			}
			else {
				this.plugin.log.log(Level.INFO, "Error: could not find any enabled timers in DB to update ranks.");
			}
		}
		else {
			Integer TimerID = timer.getId();
			HashMap<String, String> timerRanks = new LinkedHashMap<String, String>();
			List<DB_Times> times = this.plugin.database.getDatabase().find(DB_Times.class).where().eq("TimerID", TimerID).order().asc("Time").findList();
			
			this.plugin.rankList.put(TimerID, timerRanks);
			
			if (times != null) {
				int i = 1;
				for (DB_Times time : times) {
					String playerName = time.getPlayername();
					Long playerTime = time.getTime();
					timerRanks.put(playerName, i + "," + playerTime);
					i++;
				}
				this.plugin.rankList.put(TimerID, timerRanks);
			}
		}
	}