Implemented auto-update.