improve log storage
fixed race cond on batch ending on updating the logs
v0.7.0
updated deps