updating userdetails model