added code for refresh of content