update panel styles