[TASK] Update the wrapper with new API

Signed-off-by: Ramakrishnan P <ramakrishanan_p@kalycito.com>
[FIX] Corrections in the library

Signed-off-by: Ramakrishnan P <ramakrishanan_p@kalycito.com>