update majinfo