update datefromstring