update panel button action