Add update mode-line function
Update document
add sample