fixed permissions failing to update after add/remove