Fix syntx migration code snippet