Update cube queries