update document and photo service