Update perm_manager.py