added the ability to edit the deck