Updates version to 3.1.