update how rendering works