Update shared code. Bump to v2.2.31