Add explicit safety check for non-object modifiers passed to update.