update license and creaate directory