Update json definition