update patches
add empty-queue and update docs