update base styles and templates