updating homepage and base templates