Added self-updating.

Solved Issue #5.