removed db commit call and implicit begin transaction call