json updating properly for exercise dragging