How to handle transaction version numbers