updated main template style