Add user updating logic