updating rendering