Added upload to db