More work on click to edit refdata