update common template