added update action to api/v1/tasks