Updating licence type