Document self-updating