def METHOD_NAME(self):
    environments_filter = Q()
    if self.environment_id:
        environments_filter = Q(id=self.environment_id)
    # Use a queryset to perform update to prevent signals being called at this point.
    # Since we're re-saving the environment, we don't want to duplicate signals.
    self.project.environments.filter(environments_filter).update(
        updated_at=self.created_date
    )