refine some styles and undate config file