add code for update source from github