updated from deprecated package