revert to upstream state