Rewrote updater and added new hooks