Updates the version