Changed few variables.

Signed-off-by: Mohan G <mohan@gowebly.com>
Data can be set by passing an array.

Signed-off-by: Mohan G <mohan@gowebly.com>