factor out move update, reuse for both teams