update the show method