Update

- fixed jetpack deactivate bug
- cleaned up code
- added comments