fixed bug so user can update a task