add log & edit command