on Task...update the task when material changes are made to it

note: i don't get what the 'archive' button is supposed to do for the user...the code flips the 'inactive' flag, but to what end?