update requires to 3.1

got bug with 3.0.2