update get date method