update generate strategy