revert db