Update ios realtime document.