got the updating of user working