add - new revert logic.

Change-Id: If0f0b6fed11f92298b0f584a06119ed9608f37ab