Add edit and reset to json calls