change template for grid