> 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/android-docs/auth-feature/edit-profile.md).

# Edit profile

Editing a profile looks a bit like registration, so, with a logged user you’ll need to call:

```kotlin
private var listener: MBAuthApiProfileUpdateListener
private var edt_name, edt_surname, edt_email, edt_password: EditText
private var phone: String
private var img_uri: Uri
private var auxiliar_data: String

MBurgerAuthTasks.updateProfile(applicationContext,
    listener,                             //Listener for registration
    edt_name.getText().toString(),        //Name, REQUIRED
    edt_surname.getText().toString(),     //Surname, REQUIRED
    phone,                                //Phone number, nullable
    img_uri,                              //Image, nullable
    edt_email.getText().toString(),       //Email, REQUIRED
    auxiliar_data);                       //Auxiliar data nullable
```

If you decide not to set a new image, so the **img\_uri** value is null, the logged user original image will remain the same.
