putchar update