for #458 set/get_diff with version
diff with old version should not be mixed
codestyle linted