update use of get_slice to force using DB