updated generator code to v1.1.1