Update rest density.