how do i change collider offset on animations with matter physics

Hi,

I have been trying to update the offset of the collider of a sprite Matter object. This is how I have done it :

this.matter.add.sprite(width*0.3, height*0.5, 'squir','player/idle/player-idle-1.png',
        {
            render: { sprite: { xOffset: 0.0, yOffset: 0.15 } }
        })

I just update xOffset and yOffset. But when i launch an animation with .play('animation-walk') or when i update the player collider bounding box with .setRectangle(30,40) for example.
the offsets reset. Is there a way to apply this offset to each images of the animation ?