Variable Update

- Added variables
- Fixed event deregistration