fix(edit) set patch only if hashes same