def update_user(username, given_name, family_name, password=nil, passwd_hash_function=nil, admin=nil, suspended=nil, changepasswd=nil, quota=nil)
msg = RequestMessage.new
msg.about_login(username,password,passwd_hash_function,admin,suspended, changepasswd)
msg.about_name(family_name, given_name)
msg.about_quota(quota) if quota
msg.add_path('https://'+@@google_host+@action[:user_update][:path]+username)
response = request(:user_update,username,@headers, msg.to_s)
user_entry = UserEntry.new(response.elements["entry"])
end