how to update multiple rows in sql using single query