Added db commit