update the code to use pluck api