updating the measurements