Modified updateIssue in Model