update terms and header