update grid classes to include medium state