Merge "Add update preview header function"