add transform task hooks