update residemenuLibaray and residemenuSimple