queries update from where to get