Added transactions to db helper and one of blog helper methods