updated css and template