```php
$user = apply_filters( 'pre_wp_json_update_user', $user, $id, $data, $_headers );
```

:)

It allows changing data before it gets added into the database, if plugins want to parse extra data out of the request.