Added documentations and reload data when dates change