Updated serverthread