FP: updated the UPDATE SQL statement to include date of delivery. placed alert filter as well