updated defect template