updates show method