added argument for afterUploadAll(obj) to read plugin data