updated element rendering