Adding updates to data extracting

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>