unique check on edit changes