added listing database upload function