adding trigger to insert note date