update days between selected dates