private void processUpdateCase() throws ParseException {
        if (commandLine.hasOption(OPTION_ID)) {
            Date startDate = processStartDate(false);
            Date endDate = processEndDate(false);
            String message = processMessage();
            WorklogEntry worklogEntry = new WorklogEntry(startDate, endDate, message);
            timeTracker.update(worklogEntry);
        } else {
            String missingOptionMessage = "The id option is required for update option.";
            throwMissingOptionException(missingOptionMessage);
        }
    }