add socket server, update resources
add socket server, update resources