Commit change before the end