update output to print_r