add refresh button and call_back
add rewrite button