imporve the function of update some bug about the form