update mercury and registration edit