change permission matrix