Upgrade to version 7

use lodash instead