update child with its newest commit