update quad tree