Update document stage.