update to r3.1