There's currently no way for a plugin to update the AI settings for a photo. For example, users of my Copy Settings plugin must do a manual Update AI Settings after copying masks. If there were photo:updateAISettings(), then Copy Settings could save users that manual step.