Update the panel