add document priority