update generate words