Added license information
Fixed updating issue.