private Integer updateCity(Criteria criteria, AbstractDao dao) throws DaoException {
        Integer idDescription = (Integer) criteria.getParam(DAO_ID_DESCRIPTION);
        if (idDescription != null) {
            Criteria beans = new Criteria();
            beans.addParam(DAO_ID_DESCRIPTION, idDescription);
            dao.updateDescription(beans, criteria);
        }
        Integer idCity = (Integer) criteria.getParam(DAO_ID_CITY);
        if (idCity != null) {
            Criteria beans = new Criteria();
            beans.addParam(DAO_ID_CITY, criteria.getParam(DAO_ID_CITY));
            dao.updateCity(beans, criteria);
        }
        return idCity;
    }