update restx to v0.31
Merge pull request #22 from almorelle/restx-update

update restx to v0.31