udpate parent