update server

change chan to sync.Mutex，run much faster!