updated 'update' method to include prefetch_task