fix copyright and make update automatically