update
simplify show or hide to show.