public synchronized void synchronizeCuboid(int id) {
		try {
			
			if (existsCuboid(id)) {
				
				byte[] array = getCuboid(id).toByteArray();
				
				PreparedStatement sync = db.prepareStatement("UPDATE " + CuboidHandler.cuboidTable + " SET cuboid = ? WHERE id = '" + id + "';");
				Blob blob = new SerialBlob(array);
				
				sync.setBlob(1, blob);
				sync.executeUpdate();
				
				Cuboid synced = Cuboid.toCuboid(getCuboid(id).toByteArray());
				getCuboids().put(id, synced);
				
				return;
			}
			
			List<Map<String, Object>> results = db.getResults("SELECT * FROM " + CuboidHandler.cuboidTable + " WHERE id = '" + id + "';");
			
			if (results.isEmpty()) {
				EdgeCuboid.log.info(EdgeCuboid.cuboidbanner + "No Synchronizable Cuboid Entries Found! Cancelling synchronization..");
				return;
			}
			
			byte[] byteToCuboid = (byte[]) results.get(0).get("cuboid");
			
			Cuboid cuboid = Cuboid.toCuboid(byteToCuboid);			
			getCuboids().put(cuboid.getID(), cuboid);
			
		} catch(Exception e) {
			e.printStackTrace();
		}
	}