FIX UPDATE doc calculation and licences