render functions update