updates panel class wrapping