updating nested property query