Unified bot script

Update element in inner array directly