Optimize permission updating a bit