UPDATE statement with JOIN

UPDATE TARGET SET

    TARGET.field1 = 1,
    TARGET.field2 = GETDATE()

        OUTPUT INSERTED.*

            FROM dbo.tablename AS TABLE
            LEFT OUTER JOIN dbo.targettable AS TARGET ON 
                TARGET.field1 = TABLE.field1 AND 
                TARGET.field2 = TABLE.field2

                    WHERE TABLE.criteria = 1