titles array_slice update