unit of work edit