I am assuming you are doing below
- Single Selection on the Grid
- Click on the Microflow button
- Microflow has the Selected Item as the Input Parameter
- Change object with attribute value change and refresh in client option
this should already update the selected row and the respective attribute value.