add hook for survey creation