update code, fix repos