Added automatic update mechanism.