Update JSON functions.