code: public boolean createOrUpdate(TileScaling tileScaling) {
  
  		boolean success = false;
  		tileScaling.setTableName(tableName);
  
  		getOrCreateExtension();
  		try {
  			if (!tileScalingDao.isTableExists()) {
  				geoPackage.createTileScalingTable();
  			}
  
  			CreateOrUpdateStatus status = tileScalingDao
  					.createOrUpdate(tileScaling);
  			success = status.isCreated() || status.isUpdated();
  
  		} catch (SQLException e) {
  			throw new GeoPackageException(
  					"Failed to create or update tile scaling for GeoPackage: "
  							+ geoPackage.getName() + ", Tile Table: "
  							+ tableName, e);
  		}
  
  		return success;
  	}
docs: Create or update the tile scaling
  
  @param tileScaling
  tile scaling
  @return true upon success