revert models