update txtcmp for formatting