update all permissions