Added basis for autoupdate functionality including new json output