update todo list
remove any empty folders from output