update panel style