Sql updating multiple rows from another table