bugfix in updateDeck
edit handler