added code to update back of card and show page