order update script (might not work after latest main branch changes)