trying to make the editors update by grabbing document from database