api update.

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>