Update with density and difference functions