update zpermissions permission handler