Fixed document update