add the function: search and update
add function: print
add css,javascript from JB
merge