add document badges