update two tables using inner join sql server