Updated home query