fix bug updating permissions labels on change