Update the header input title or path respectively