Update rendering.js