Updated template and refreshing