added documents and updatedExisting to last error

Added property documents and updatedExisting to allow for checking the update result