update inf by document