updates
made rendering faster