issue #43: modified sharded methods to regenerate mapping and dynamic variant class when schema changes