fix KeyError in update user form