fixed the edit button so it updates the screen with the new card info