update sample queries