handle the case where new content and updated content is saved at the same time