updated renderdata api and its use in logger
updated renderdata api