Update add_targets_delegate.py