add debug messages for confirm update