update profile to use the correct return object correctly