Update user not working in springboot

Hi All,
I am using the keyCloakService.updateUser(userDto); to update the realm roles for an user and i am not able to update them. PFB the details,

url: http://localhost:8080/api/admin/update
Body:
{
“id”: “d5c0d1f1-303c-4150-871e-c85ddd3f1b54”,
“firstname”: “test1”,
“lastname”: “test 1”,
“email”: “test@gmail.com”,
“password”: “test@123”,
“enabled”: true,
“realmRoles”: [“app-user”],
“clientRoles”: {
“demo”: [“app-user”]
}
}

The above execution is not updating the realm roles for the user.

Could someone please guide me if i m sending the body values correctly.

Thanks!