Update output subroutines.