Improve update script.
Add license to scripts.