Update grid generation mixin