Fix user upgrade