updating license in document