update main entry