update database bucket values.