updated show and index