Update the generation of shapes