updated update-user file
fixed socket functions
new commit