Updating menu links weights.