def perform_update(self, serializer): Comments.create_diff_comment(self.get_object(), serializer.validated_data, self.request.user) instance = serializer.save() instance.refresh_main_business_lines()