before commit changed