delete command for states and transitions