updating template for pending transactions