Update setRecordContent method

Signed-off-by: eduowan <donis.wang@ericsson.com>