update menu jquery implementation