code: def update_profile(self, attrs, attr_map=None):
          
          user_attrs = dict_to_cognito(attrs,attr_map)
          self.client.update_user_attributes(
              UserAttributes=user_attrs,
              AccessToken=self.access_token
          )
docs: Updates User attributes
          :param attrs: Dictionary of attribute name, values
          :param attr_map: Dictionary map from Cognito attributes to attribute
          names we would like to show to our users