updates log on commit