-Updating the method of set content observer