updated with log retrieval update