add test for updating external filehandle