fixed the problem that updates all rows of server's table, because the condition is missing in the SQL statement.