update main files