cahnged the date format in Update to match Realtime