updated render function to modify rendered property of postit object