updated panel demo