update for get parent document