update log4j
Refactor and initial shareable indices changes.