still to do: update panel with id="panel" programmatically