How to push different option values in different rows (child table)

image

It works and change the field_name over all the child table; If i want the change only for the current row
upon certain condition??
How can I push different option values in different rows?

Thanks