edits to datepicker