update version in wrapping code