Just move the sprite shape while having Update Collider ticked.
The Update collider option is under the Sprite Shape Controller (was at the bottom for me), NOT under Edge Collider 2D.
When you add the Edge Collider 2D it defaults to a straight line, moving the game object forces it to update, editing spline should also work.