updated dynamic date picking