All the 3 values I added using the red text must be added as expressions.
Condition left side (is the output of 'Filter array' empty?):
empty(body('Filter_array'))
Condition right side (If it's not empty, the item exists, it'll be equal to 'false'):
false
Take the ID from the item that's left in the 'Filter array' output as that's the one you were looking for and which you want to use in the 'Update item' action.
body('Filter_array')[0]?['Id']