Auto update stored queries