Modified db::comit() and updated actions in sync.