Fixes #23 : Corrected updated api functions