revert and update