upgrade key generator #3

generate uuid key in a dispatch.