Fixed bug in access rights controller. Now it also updates the tree after access right.