Update JSON - working version