add license
update terms code
update terms code