update pivot template + Add Search feature