> For the complete documentation index, see [llms.txt](https://docs.mburger.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mburger.cloud/flutter-sdk/auth/update-user-profile.md).

# Update user profile

You can update some data of the profile of the current **`MBUser`**. In case of success it returns an updated **`MBUser`**.

```dart
MBUser newUser = await MBAuth.updateUser(
  name: 'name',
  surname: 'surname',
  phone: '1234567890',
  image: null,
  data: null,
);
```
