added role edit functionality