update show dialog