update iOS document