update main entrance file