update to v2.0
add autoCheck and autoAttack