Updated db commit to return deleted value.