change adopted/lonely dogs query