edit and complete task working