Update grid style