Add tags in fcurve.update(), keyframe_point.insert/add/remove(), fmodifier.control_points.add/remove().