update statement with inner join in sql server