Updated the json update function to only run every second (set by getDelay).