add ws reversion
update doc