update licence and template