update global collect to use secure config