update extension plugin with server connect function and adjust file.