update rendering