code: def update_profile(request, user, **kwargs):
      extra_data = user.socialaccount_set.filter(provider="google")[
          0
      ].extra_data
      profile = Profile.objects.create(
          user=user,
          first_name=extra_data["given_name"],
          last_name=extra_data["family_name"],
          avatar_url=extra_data["picture"],
      )
      profile.get_remote_image()
  
file_path: modelchimp/modelchimp/signals.py
imports: from allauth.exceptions import ImmediateHttpResponse
  from allauth.account.signals import user_signed_up
  from allauth.socialaccount.signals import pre_social_login
  from django.conf import settings
  from django.shortcuts import render_to_response
  from django.db.models.signals import post_save
  from django.dispatch import receiver
  from modelchimp.models.comment import Comment
  from modelchimp.models.profile import Profile
  from modelchimp.models.experiment import Experiment
label_desc: Use image node_id 2 for calling a global function with example usage: update_profile(request, user) without return types