Fix bug in invert
Upgrade dependency
Change descriptions and specifications to snake case