update tool, supports multiple file