update generate helper and readme