update licence and documentation