Update version number in library header to 2.3.1