Added updateVersion method