array.every and array.some, update to params passed into map and filter