fixing user update to work