python
# Creating a new UserProfile instance
profile = UserProfile.objects.create(user_data={"name": "Alice", "age": 25})

# Updating the JSON data
profile.user_data["email"] = "alice@example.com"
profile.save()