updated head template file