fixed update to allow replacement of docs when no update operators provided