Update version to match current state.