reset of roles on edit