private void updateCountry() {
    CountryBO countryBO = ServiceLocator.getBean(CountryBO.class);
    
    BufferedImage imBuff = null;
    InputStream is = InsertImageTest.class.getResourceAsStream("/flags/croatia.png");

    try {
      imBuff = ImageIO.read(is);
    } catch (IOException e) {
      e.printStackTrace();
    }
    
    if (imBuff != null) {
      Country country = countryBO.findByIdentifier(7);
      country.setFlag(imBuff);
      countryBO.updateRecord(country);
    }
  }