dev refactor code for due date update