update lib version
fix some styling