Library update for DPA v2.1x

Basic tests has been done.