Insert them in printer and run cleaning cycle from maintenance screen. Leave carts inside printer for about hour and repeat cleaning cycle.
When you done reinsert edible cartridges and run another cleaning cycle with edible cartridges to purge cleaning solution from print head.