revert chnages form upgrade