update the datepicker to show on link click