update thor, make generator command