Final changes to socket updating functions
Remove a line