Fixed edit child by setting attributes