update server.c ho tro multithread