specced out anf fixed bugs for updating users