edit card and edit game now function correctly