encode modify commit