update to use server-side spool