Fixed glitch where transaction might not be updated