update doc and create init sql