remove last commit and replace elements