update pretty printer