Improve the file updating and team kit setting