fixing user#update issues