updated styles and templates