Renamed update() to render()