Removing old content on data change