Adding the appropriate arguments to the beforeSave callback