Added update checking.

Also fixed the lack of comments in the onEnable method