update all in one document