Update a task

Updates the properties of an existing task.