script to update licenses