Shapes table update logic (utils/transit.py:664) - Clarify how shapes table gets stop_id and when shapes should be updated