update show logic