update with datetime testing