Update document plugin from upstream