Adding changes for datepicker