updated tree structure for apache