update style, update grid output