edited hidden/show and refresh option.