update order of cards