socketcontroller update