more work on tasks.

UPDATE query seems to be having a problem.