Update the pane when change the type required or visibilty changed..