Edit function is added to inspections