change default events
add docs for tabs