updating density converter