setting content replace all data previously set to layout