update data with new sample
apply _.omit instead of cleanProperties and change reference id for _dependencyId