added functionality for edit an issue
backend+frontend