switching to non deprecated persistence provider