updated show pattern view