trigger changes when the date changes from a key press