update panel styling