add rendering data through model attr