Updated auction with database connectivity