updated gii to use media widget from kato core