save bid to db