update doc; support multiple files