updated logic in send reminder