Added self update mechanism.