revert change in commit entity