Revert to dev state