A specific method is provided of improving immunomodulatory properties of Lactobacillus strains using growth media with a specific primary carbon source, including a method of increasing the anti-inflammatory effect of non-pathogenic anti-inflammatory bacterial strains, by the use of specific growth conditions.