faster commit to db