update date parsing