updated database for upload