Updates a task.
Each time the task is updated, revision
increments by 1.
The existing revision
must be included when updating the task.
This ensures you're working with the latest task
and prevents unintended overwrites.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Task ID.
Task to update.