update basic template