update table using inner join in sql server