update hardware keys config