Update json and rack