updates panel styles