update the panel style,althogh it is still very urgly