added form update function, bugfix password generation step 6