fixed user update bugs