Uploading now adds records to db