updated documentation on code generator