update for building with version