For the update part, you can check using the ID or any identifier field in your database:
UPDATE t2
SET t2.field2 = t1.field2 and t2.field3 = t1.field3
FROM table2 AS t2
INNER JOIN table1 AS t1
ON t2.field1=t1.field1
And just add the insert part from the reply above after the update statement.