Add pricness and key to render and update functions.