SyntaxFix
Write A Post
Hire A Developer
Questions
Simply just append your fields and their values to the elements:
$user->roles()->sync([ 1 => ['F1' => 'F1 Updated'] ]);