update gii templates and views for compatibility