update headers info collect method