update installer to the new styles and bump version to 3.1-2