Features/updating cached queries