updated css and templates