update debug in iframe