Update version to 1.3.1 for release